﻿using MediatR;
using SCM.Domain.Ledger;
using SCM.ErrorCode;
using SCM.Extensions.Ledger;

namespace SCM.API.Read.Application.Command.Ledger
{
    public class GetStockCommand:IRequest<APIPaging<StockDTO>>
    {
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 15;
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        public string? UnitName { get; set; }
        /// <summary>
        /// 条码
        /// </summary>
        public string? Barcode { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? DepotName { get; set; }

    }
}
